#include<iostream>
#include<vector>
using namespace std;

int removeDuplicates(vector<int>& nums) {
    vector<int>::iterator it = nums.begin();
    while (it < nums.end() - 1)
    {
        if (*it == *(it + 1))
        {
            it = nums.erase(it);
        }
        else
        {
            it++;
        }
    }
    return nums.size();
}

int main()
{
    /*int a[] = { 1,1,2 };
    vector<int> v(a, a + sizeof(a) / sizeof(a[0]));
    removeDuplicates(v);*/
    string s1 = "abc";

    vector<string> s = { "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz" };
    //s[0]=s1;
    /*s[1] = "def";
    s[2] = "ghi";
    s[3] = "jkl";
    s[4] = "mno";
    s[5] = "pqrs";
    s[6] = "tuv";
    s[7] = "wxyz";*/
    vector<string>::iterator it = s.begin();
    cout << *(it+1) << endl;
    cout << s1[0];
    return 0;
}